package com.zxkj.commonpatrol.model.response;

import java.util.List;

public class DevEvtQuestPatrolHistoryResponse {

    public String QuestCode;  //问题编号
    public String QuestName;  //问题名称
    public String QuestTips;  //问题Tips
    public List<QItemOption> QItemOptions;  //问题的Option信息

    public List<QItemAction> QItemActions;  //问题的 Buttons

    public List<DevEvtQuestHis> DevQuests;   //设备问题巡检历史列表

    public List<QItemOption> getQItemOptions() {
        return QItemOptions;
    }

    public void setQItemOptions(List<QItemOption> QItemOptions) {
        this.QItemOptions = QItemOptions;
    }

    public List<QItemAction> getQItemActions() {
        return QItemActions;
    }

    public void setQItemActions(List<QItemAction> QItemActions) {
        this.QItemActions = QItemActions;
    }

    public List<DevEvtQuestHis> getDevQuests() {
        return DevQuests;
    }

    public void setDevQuests(List<DevEvtQuestHis> devQuests) {
        DevQuests = devQuests;
    }

    public String getQuestCode() {
        return QuestCode;
    }

    public void setQuestCode(String questCode) {
        QuestCode = questCode;
    }

    public String getQuestName() {
        return QuestName;
    }

    public void setQuestName(String questName) {
        QuestName = questName;
    }

    public String getQuestTips() {
        return QuestTips;
    }

    public void setQuestTips(String questTips) {
        QuestTips = questTips;
    }

    public static  class QItemOption {
        public String QuestCode;    //问题编号
        public String QOptionName;   //问题Option名称
        public int Type;    //属性类型(0:input  1:datetime 2:Combox)
        public int Index;    //UI上摆放顺序(从0开始)
        public String OPT_NO;// 属性编号

        public String getOPT_NO() {
            return OPT_NO;
        }

        public void setOPT_NO(String OPT_NO) {
            this.OPT_NO = OPT_NO;
        }

        public String getQuestCode() {
            return QuestCode;
        }

        public void setQuestCode(String questCode) {
            QuestCode = questCode;
        }

        public String getQOptionName() {
            return QOptionName;
        }

        public void setQOptionName(String QOptionName) {
            this.QOptionName = QOptionName;
        }

        public int getType() {
            return Type;
        }

        public void setType(int type) {
            Type = type;
        }

        public int getIndex() {
            return Index;
        }

        public void setIndex(int index) {
            Index = index;
        }

        public List<String> getData() {
            return Data;
        }

        public void setData(List<String> data) {
            Data = data;
        }

        public String getValue() {
            return Value;
        }

        public void setValue(String value) {
            Value = value;
        }

        public List<String> Data;   //当为Combox时，此字段保存Combox下拉数据
        public String Value;   //属性值
    }

    public static class QItemAction {
        public String QuestCode;   //问题编号

        public String getQuestCode() {
            return QuestCode;
        }

        public void setQuestCode(String questCode) {
            QuestCode = questCode;
        }

        public String getActCode() {
            return ActCode;
        }

        public void setActCode(String actCode) {
            ActCode = actCode;
        }

        public String getActName() {
            return ActName;
        }

        public void setActName(String actName) {
            ActName = actName;
        }

        public int getIrregular() {
            return Irregular;
        }

        public void setIrregular(int irregular) {
            Irregular = irregular;
        }

        public int getIndex() {
            return Index;
        }

        public void setIndex(int index) {
            Index = index;
        }
        public int CapturePhoto; //是否必须拍照

        public int getCapturePhoto() {
            return CapturePhoto;
        }

        public void setCapturePhoto(int capturePhoto) {
            CapturePhoto = capturePhoto;
        }

        public String ActCode;    //Action编号
        public String ActName;   //Button名称
        public int Irregular;      //是否是Irregular(0:No 1:Yes),类似No按钮
        public int Index;    //UI上摆放顺序(从0开始)
    }

    public static class DevEvtQuestHis {
        public String LogId;  //LogId
        public String ResultDesc;  //显示异常描述或者正常
        public String LastPatrolUser;  //上次巡检人
        public int IsChild;  //当前显示的是子异常,1是  0不是
        public String SubAlarmId;   //子异常id   点击播放的时候，取这个值
        public String getLogId() {
            return LogId;
        }

        public int getIsChild() {
            return IsChild;
        }

        public void setIsChild(int isChild) {
            IsChild = isChild;
        }

        public String getSubAlarmId() {
            return SubAlarmId;
        }

        public void setSubAlarmId(String subAlarmId) {
            SubAlarmId = subAlarmId;
        }

        public void setLogId(String logId) {
            LogId = logId;
        }

        public String getResultDesc() {
            return ResultDesc;
        }

        public void setResultDesc(String resultDesc) {
            ResultDesc = resultDesc;
        }

        public String getLastPatrolUser() {
            return LastPatrolUser;
        }

        public void setLastPatrolUser(String lastPatrolUser) {
            LastPatrolUser = lastPatrolUser;
        }

        public String getLastPatrolDateTime() {
            return LastPatrolDateTime;
        }

        public void setLastPatrolDateTime(String lastPatrolDateTime) {
            LastPatrolDateTime = lastPatrolDateTime;
        }

        public String getLastPatrolUserPhone() {
            return LastPatrolUserPhone;
        }

        public void setLastPatrolUserPhone(String lastPatrolUserPhone) {
            LastPatrolUserPhone = lastPatrolUserPhone;
        }

        public int getResultType() {
            return ResultType;
        }

        public void setResultType(int resultType) {
            ResultType = resultType;
        }

        public int getIsExistsMediaData() {
            return IsExistsMediaData;
        }

        public void setIsExistsMediaData(int isExistsMediaData) {
            IsExistsMediaData = isExistsMediaData;
        }

        public String LastPatrolDateTime;  //上次巡检日期时间(yyyy/MM/dd hh:mm)
        public String LastPatrolUserPhone;  //上次巡检人的联系电话
        public int ResultType;  //结果类型（0：异常 1：正常）
        public int IsExistsMediaData;  //结果类型（0：没有  1：有照片或者语音或者视频）

        public String ActionNo;

        public String getActionNo() {
            return ActionNo;
        }

        public void setActionNo(String actionNo) {
            ActionNo = actionNo;
        }

        public List<QltemOption> QItemOptionList;

        public List<QltemOption> getQItemOptionList() {
            return QItemOptionList;
        }

        public void setQItemOptionList(List<QltemOption> QItemOptionList) {
            this.QItemOptionList = QItemOptionList;
        }

        public static class  QltemOption{
            public int Type; //0 input 1 datetime 2combox+'
            public String InputValue;
            public String QOptionName;

            public int getType() {
                return Type;
            }

            public void setType(int type) {
                Type = type;
            }

            public String getInputValue() {
                return InputValue;
            }

            public void setInputValue(String inputValue) {
                InputValue = inputValue;
            }

            public String getQOptionName() {
                return QOptionName;
            }

            public void setQOptionName(String QOptionName) {
                this.QOptionName = QOptionName;
            }
        }

    }



}
